﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package reprise.data {

    public class Range {

        public var location:int;
        public var length:int;

        public function Range(_arg1:int, _arg2:int){
            location = _arg1;
            length = _arg2;
        }
        public function containsLocation(_arg1:int):Boolean{
            return ((((_arg1 >= location)) && ((_arg1 < (location + length)))));
        }
        public function toString():String{
            return (((("[Range] location: " + location) + ", length: ") + length));
        }
        public function clone():Range{
            return (new Range(location, length));
        }

    }
}//package reprise.data 
